/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2022/2/11 1:02:23
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 分销佣金明细
    /// </summary>
    public partial class CoreCmsDistributionOrderDetails
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public CoreCmsDistributionOrderDetails()
        {
        }
		
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
		
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 id  { get; set; }
        
		
        /// <summary>
        /// 代理商佣金订单
        /// </summary>
        [Display(Name = "代理商佣金订单")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 distributionOrderId  { get; set; }
        
		
        /// <summary>
        /// 用户订单编号
        /// </summary>
        [Display(Name = "用户订单编号")]
		
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String orderId  { get; set; }
        
		
        /// <summary>
        /// 货品单价
        /// </summary>
        [Display(Name = "货品单价")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Decimal productPrice  { get; set; }
        
		
        /// <summary>
        /// 结算金额
        /// </summary>
        [Display(Name = "结算金额")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Decimal amount  { get; set; }
        
		
        /// <summary>
        /// 商品序列
        /// </summary>
        [Display(Name = "商品序列")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 goodId  { get; set; }
        
		
        /// <summary>
        /// 商品名称
        /// </summary>
        [Display(Name = "商品名称")]
		
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String name  { get; set; }
        
		
        /// <summary>
        /// 货品明细序列号存储
        /// </summary>
        [Display(Name = "货品明细序列号存储")]
		
        
        
        
        
        public System.String addon  { get; set; }
        
		
        /// <summary>
        /// 货品序列
        /// </summary>
        [Display(Name = "货品序列")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 productId  { get; set; }
        
		
        /// <summary>
        /// 货品数量
        /// </summary>
        [Display(Name = "货品数量")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 productNums  { get; set; }
        
		
        /// <summary>
        /// 货品优惠总金额
        /// </summary>
        [Display(Name = "货品优惠总金额")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Decimal promotionAmount  { get; set; }
        
		
        /// <summary>
        /// 图片
        /// </summary>
        [Display(Name = "图片")]
		
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength:100,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String imageUrl  { get; set; }
        
		
        /// <summary>
        /// 备注
        /// </summary>
        [Display(Name = "备注")]
		
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String remark  { get; set; }
        
		
        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.DateTime createTime  { get; set; }
        
		
    }
}
